package com.cyl.wms.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseAudit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 货区对象 wms_area
 *
 * @author zcc
 */
@ApiModel(description="货区对象")
@Data
@TableName("wms_loader")
public class Loader extends BaseAudit {

    public static final int TOTE = 2;  //料箱
    public static final int PALLET = 1; //托盘
    public static final int ADDR = 3; //虚拟地址
    public static final int RACKSLOT = 4;//货架位


    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("载具编号")
    @Excel(name = "载具编号")
    @TableField("loader_no")
    private String loaderNo;

    @ApiModelProperty("地址码ID")
    @Excel(name = "地址码ID")
    @TableField("addr_id")
    private Long addrId;

    @ApiModelProperty("载具名称")
    @TableField("loader_name")
    @Excel(name = "载具名称")
    private String loaderName;

    @ApiModelProperty("载具名称")
    @TableField("loader_type")
    @Excel(name = "载具类型")
    private Integer loaderType;


    @ApiModelProperty("所属仓库ID")
    @Excel(name = "所属仓库ID")
    @TableField("warehouse_id")
    private Long warehouseId;

    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty("删除标识")
    private Integer delFlag;

}
